/**
 * Transfer 组件的主题配置
 */

import type { ComponentToken } from 'antd/es/transfer/style';

export const transferThemeConfig: Partial<ComponentToken> = {
  headerHeight: 40,
  itemHeight: 32,
  listHeight: 200,
  listWidth: 180,
};

export const getTransferTheme = (
  customConfig?: Partial<ComponentToken>
): Partial<ComponentToken> => {
  return {
    ...transferThemeConfig,
    ...customConfig,
  };
};

export type { ComponentToken as TransferComponentToken } from 'antd/es/transfer/style';

